<%@page import="tx.bj12320.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib tagdir="/WEB-INF/tags/simpletable" prefix="simpletable"%>
<%@ include file="/commons/taglibs.jsp" %>
<rapid:override name="head">
	<title><%=UserInfo.TABLE_ALIAS%> 维护</title>

	<link href="<c:url value="/widgets/simpletable/simpletable.css"/>" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<c:url value="/widgets/simpletable/simpletable.js"/>"></script>
<link rel="stylesheet" type="text/css" href="<c:url value="/widgets/jquery-easyui/themes/default/easyui.css"/>">
	<link rel="stylesheet" type="text/css" href="<c:url value="/widgets/jquery-easyui/themes/icon.css"/>">
	<script type="text/javascript" src="<c:url value="/widgets/jquery-easyui/jquery.easyui.min.js"/>"></script>
	 <!-- jmesa css -->
<link rel="stylesheet" type="text/css" href="${ctx}/css/jmesa.css"></link>
<link rel="stylesheet" type="text/css" href="${ctx}/css/example.css"></link>
 <!-- js files -->
<script type="text/javascript" src="${ctx}/js/jquery-1.3.min.js"></script>
<script type="text/javascript" src="${ctx}/js/jquery.jmesa.js"></script>
<script type="text/javascript" src="${ctx}/js/jmesa.js"></script>
<script type="text/javascript" src="${ctx}/js/jquery.validate.js"></script>
</rapid:override>

<rapid:override name="content">


	<div class="gridTable" style="width:100%;">

<div class="easyui-panel" title="待办任务" icon="icon-search" maximizable="true" collapsible="true"   style="width:800px;height:360px;padding:0px;background:#fafafa;" href="${ctx}/pages/TszbProcessInfo/userTasks.do?maxRows=10&tag_tr_=true&tag_p_=1&tag_mr_=10" loadingMessage="正在装载，请稍后……">
</div>

        <script type="text/javascript">
            function onInvokeAction(id) {
                $.jmesa.createHiddenInputFieldsForLimitAndSubmit(id);
            }
        </script>
<div class="easyui-panel" title="新闻" icon="icon-search" collapsible="true"   style="width:800px;height:260px;padding:10px;background:#fafafa;">

<table width="100%"  border="0" cellspacing="0" class="gridBody">
		  <thead>

			  <tr>

				<!-- 排序时为th增加sortColumn即可,new SimpleTable('sortColumns')会为tableHeader自动增加排序功能; -->
				<th  >发布用户</th>
				<th sortColumn="info_title" ><%=Infoissue.ALIAS_INFO_TITLE%></th>
				<th sortColumn="issue_date" ><%=Infoissue.ALIAS_ISSUE_DATE%></th>
				<th sortColumn="attachment_name" ><%=Infoissue.ALIAS_ATTACHMENT_NAME%></th>
				<th sortColumn="attachment_file" ><%=Infoissue.ALIAS_ATTACHMENT_FILE%></th>

				<th>操作</th>
			  </tr>

		  </thead>
		  <tbody>
		  	  <c:forEach items="${infoissue_xinwen}" var="item" varStatus="status">

			  <tr class="${status.count % 2 == 0 ? 'odd' : 'even'}">
				<td> <c:out value='${item.userInfo.realName}'/>&nbsp;</td>
				<td><c:out value='${item.infoTitle}'/>&nbsp;</td>
				<td><c:out value='${item.issueDateString}'/>&nbsp;</td>
				<td><c:out value='${item.attachmentName}'/>&nbsp;</td>
				<td><c:out value='${item.attachmentFile}'/>&nbsp;</td>
				<td>
					<a href="${ctx}/pages/Infoissue/show.do?infoissueId=${item.infoissueId}&">查看</a>&nbsp;&nbsp;&nbsp;
				</td>
			  </tr>

		  	  </c:forEach>
		  </tbody>
		</table>
</div>

<div class="easyui-panel" title="通知" icon="icon-search" collapsible="true"   style="width:800px;height:260px;padding:10px;background:#fafafa;">

<table width="100%"  border="0" cellspacing="0" class="gridBody">
		  <thead>

			  <tr>

				<!-- 排序时为th增加sortColumn即可,new SimpleTable('sortColumns')会为tableHeader自动增加排序功能; -->
				<th  >发布用户</th>
				<th sortColumn="info_title" ><%=Infoissue.ALIAS_INFO_TITLE%></th>
				<th sortColumn="issue_date" ><%=Infoissue.ALIAS_ISSUE_DATE%></th>
				<th sortColumn="attachment_name" ><%=Infoissue.ALIAS_ATTACHMENT_NAME%></th>
				<th sortColumn="attachment_file" ><%=Infoissue.ALIAS_ATTACHMENT_FILE%></th>

				<th>操作</th>
			  </tr>

		  </thead>
		  <tbody>
		  	  <c:forEach items="${infoissue_tongzhi}" var="item" varStatus="status">

			  <tr class="${status.count % 2 == 0 ? 'odd' : 'even'}">
				<td> <c:out value='${item.userInfo.realName}'/>&nbsp;</td>
				<td><c:out value='${item.infoTitle}'/>&nbsp;</td>
				<td><c:out value='${item.issueDateString}'/>&nbsp;</td>
				<td><c:out value='${item.attachmentName}'/>&nbsp;</td>
				<td><c:out value='${item.attachmentFile}'/>&nbsp;</td>
				<td>
					<a href="${ctx}/pages/Infoissue/show.do?infoissueId=${item.infoissueId}&">查看</a>&nbsp;&nbsp;&nbsp;
				</td>
			  </tr>

		  	  </c:forEach>
		  </tbody>
		</table>
</div>

<div class="easyui-panel" title="工作动态" icon="icon-search" collapsible="true"   style="width:800px;height:260px;padding:10px;background:#fafafa;">

<table width="100%"  border="0" cellspacing="0" class="gridBody">
		  <thead>

			  <tr>

				<!-- 排序时为th增加sortColumn即可,new SimpleTable('sortColumns')会为tableHeader自动增加排序功能; -->
				<th  >发布用户</th>
				<th sortColumn="info_title" ><%=Infoissue.ALIAS_INFO_TITLE%></th>
				<th sortColumn="issue_date" ><%=Infoissue.ALIAS_ISSUE_DATE%></th>
				<th sortColumn="attachment_name" ><%=Infoissue.ALIAS_ATTACHMENT_NAME%></th>
				<th sortColumn="attachment_file" ><%=Infoissue.ALIAS_ATTACHMENT_FILE%></th>

				<th>操作</th>
			  </tr>

		  </thead>
		  <tbody>
		  	  <c:forEach items="${infoissue_gzdt}" var="item" varStatus="status">

			  <tr class="${status.count % 2 == 0 ? 'odd' : 'even'}">
				<td> <c:out value='${item.userInfo.realName}'/>&nbsp;</td>
				<td><c:out value='${item.infoTitle}'/>&nbsp;</td>
				<td><c:out value='${item.issueDateString}'/>&nbsp;</td>
				<td><c:out value='${item.attachmentName}'/>&nbsp;</td>
				<td><c:out value='${item.attachmentFile}'/>&nbsp;</td>
				<td>
					<a href="${ctx}/pages/Infoissue/show.do?infoissueId=${item.infoissueId}&">查看</a>&nbsp;&nbsp;&nbsp;
				</td>
			  </tr>

		  	  </c:forEach>
		  </tbody>
		</table>
</div>


<div class="easyui-panel" title="常用网址" icon="icon-search" collapsible="true"   style="width:800px;height:260px;padding:10px;background:#fafafa;">

<table width="100%"  border="0" cellspacing="0" class="gridBody">
		  <thead>

			  <tr>
				<th sortColumn="resource_name" >常用网址名称</th>
				<th sortColumn="resource_size" >常用网址</th>
			  </tr>

		  </thead>
		  <tbody>
		  	  <c:forEach items="${resource_url}" var="item" varStatus="status">

			  <tr class="${status.count % 2 == 0 ? 'odd' : 'even'}">

				<td><c:out value='${item.resourceName}'/>&nbsp;</td>

				<td><a target="_blank" href="http://${item.resourceSize}"><c:out value='${item.resourceSize}'/></a>&nbsp;</td>

			  </tr>

		  	  </c:forEach>
		  </tbody>
		</table>
</div>

	</div>
	</form>
</rapid:override>

<%-- jsp模板继承,具体使用请查看: http://code.google.com/p/rapid-framework/wiki/rapid_jsp_extends --%>
<%@ include file="base.jsp" %>

